<template>
  <div id="tit" :style="{
    backgroundColor:bg,
    color:olo
  }">
    <div>
      <slot></slot>
    </div>
  </div>
</template>
<script>
export default {
  name: '',
  props: {
    bg: {
      type: String,
      default: 'red'
    },
    olo: {
      type: String,
      default: 'white'
    },
  },
  data() {
    return {};
  },
  // 子组件转换
  components: {},
}
</script>
<style lang="scss" scoped>
#tit {
  width: 100%;
  height: 10vh;
  line-height: 10vh;
  font-size: .5rem;

  div {
  }
}
</style>